package user

import (
	"gorm.io/gorm"
)

type User struct {
	gorm.Model
	Username      string
	Password      string
	Phone         string
	Email         string
	ClientIP      string
	ClientPort    string
	LoginTime     uint64
	HeartBeatTime uint64
	LogOutTime    uint64
	IsLogOut      bool
	DeviceInfo    string
}

func (table *User) TableName() string {
	return "t_user"
}
